<template>
  <div>
    <el-radio-group v-model="curAnalysis" size="small">
      <el-radio-button label="AI个人分析" />
      <el-radio-button label="AI班级分析" />
    </el-radio-group>

    <personAI :show-person="curAnalysis=='AI个人分析'" :exam-id="examId" />
    <classAI :show-class="curAnalysis=='AI班级分析'" :exam-id="examId" />
  </div>
</template>
<script>
import personAI from './personAI.vue'
import classAI from './classAI.vue'
export default {
  components: { personAI, classAI },
  props: {
    examId: String
  },
  data() {
    return {
      curAnalysis: 'AI个人分析'
    }
  },
  mounted() {

  }
}
</script>
<style scoped lang="scss">
.classItem {
  margin-top: 20px;
}
</style>
